package lab02.test27;

import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
        int a = 0;
        Scanner scanner = new Scanner(System.in);
        System.out.println("Please input ab int:");
        try {
            a = scanner.nextInt();
            //alt+enter
        }catch (ArithmeticException e){
            System.out.println("类型不匹配!!!");

        }
        System.out.println("a= "+a);
    }
}
